import React from "react";
import Aside from "../components/Aside";
import Headers from "../components/Headers";
import CommonTag from "../components/CommonTag";
import { Outlet } from "react-router-dom";
import { Layout } from "antd";
const { Content } = Layout;

const Main = () => {
  return (
    <Layout className="main-container">
      <Aside />
      <Layout className="site-layout">
        <Headers />
        <CommonTag></CommonTag>
        <Content
          className="site-layout-background"
          style={{
            margin: "24px 16px",
            padding: 24,
            background: "#fff",
          }}
        >
          <Outlet />
        </Content>
      </Layout>
    </Layout>
  );
};
export default Main;
